package com.example.ticketingserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 *
 * @TableName station
 */
@Schema(description = "车站信息")
@TableName(value ="station")
@Data
public class Station implements Serializable {
    /**
     * 车站id
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "车站id")
    private Integer id;
    /**
     * 站名
     */
    @Schema(description = "车站名称")
    private String name;
    @Schema(description = "车站图片")
    private String img;
    @Schema(description = "车站等级")
    private String grade;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}